package com.zhang.facade.example.normal;

import com.zhang.facade.example.normal.LetterProcess;

/**
 * @author ElloeStudy(Sifa Zhang)
 * @create 2022-03-02 17:39
 * To: 真常应物，真常得性，常清常静，常清静矣
 */

// 具体的写信模板流程信息
public class LetterProcessImpl implements LetterProcess {

    @Override
    public void writeContext(String context) {
        System.out.println("填写信的地址" + context);
    }

    @Override
    public void fillEnvelope(String address) {
        System.out.println("填写收件人的地址及姓名" + address);
    }

    @Override
    public void letterInotoEnvelope() {
        System.out.println("把信件放到信封里面... ");
    }

    @Override
    public void sendLetter() {
        System.out.println("邮件邮递出去。。。");
    }
}
